<?php 
$tmp = ORM::factory('language')->where('languages_status',1)->find_all();
$lang = array();
foreach ($tmp as $list)
{
	$lang['txt_name'.$list->languages_id] = array
    (
        'required' => '['.$list->languages_name.'] The Name field is required.',
        'alpha' => '['.$list->languages_name.'] Only alphabetic characters are allowed.',
        'length' => '['.$list->languages_name.'] The name must be between three and twenty letters.',
        'default' => '['.$list->languages_name.'] Invalid Input.',
    );
}